package com.manor.paradise.bean

import androidx.annotation.Keep
import com.google.gson.annotations.SerializedName
import java.math.BigDecimal

/**
 *


 * @date  2020/6/23  16:05
 * @version 1.0
 */

@Keep
data class HireCenterBean(
        @SerializedName("imgUrl")
        val imgUrl: String = "",
        @SerializedName("name")
        val name: String = "",
        @SerializedName("needNum")
        val needNum: String = "",
        @SerializedName("outNum")
        val outNum: String = "",
        @SerializedName("validTime")
        val validTime: String = "",
        @SerializedName("isFree")
        val isFree: String = ""
)

data class SpiritBean(
    @SerializedName("crystal")
    val crystal: BigDecimal = BigDecimal.ZERO,
    @SerializedName("crystalOre")
    val crystalOre: BigDecimal = BigDecimal.ZERO,
    @SerializedName("spiritCounts")
    val spiritCounts: List<SpiritCount> = listOf()
)

data class SpiritCount(
    @SerializedName("price")
    val price: String = "",
    @SerializedName("sameNum")
    val sameNum: String = "",
    @SerializedName("spiritCount")
    val spiritCount: String = "",
    @SerializedName("spiritId")
    val spiritId: String = ""
)


@Keep
data class HeartBean(
        @SerializedName("current")
    val current: Int = 0,
        @SerializedName("pages")
    val pages: Int = 0,
        @SerializedName("records")
    val records: MutableList<RecordHBean> = mutableListOf(),
        @SerializedName("searchCount")
    val searchCount: Boolean = false,
        @SerializedName("size")
    val size: Int = 0,
        @SerializedName("total")
    val total: Int = 0
)


//        private int category;
//        private int hireSpend;
//        private int hireType;
//        private int payType;
//        private String spiritImgUrl;
//        private String updateTime;
@Keep
data class RecordHBean(
    @SerializedName("activeDays")
    val activeDays: BigDecimal = BigDecimal.ZERO,
    @SerializedName("activeDuration")
    val activeDuration: BigDecimal = BigDecimal.ZERO,
    @SerializedName("anima")
    val anima: Int = 0,
    @SerializedName("bexpired")
    val bexpired: Boolean = false,
    @SerializedName("content")
    val content: String = "",
    @SerializedName("createTime")
    val createTime: String = "",
    @SerializedName("currentTime")
    val currentTime: String = "",
    @SerializedName("dayCrystalOre")
    val dayCrystalOre: BigDecimal = BigDecimal.ZERO,
    @SerializedName("effectiveDate")
    val effectiveDate: String = "",
    @SerializedName("expiredTime")
    val expiredTime: String = "",
    @SerializedName("hireId")
    val hireId: String = "",
    @SerializedName("id")
    val id: String = "",
    @SerializedName("invalidDate")
    val invalidDate: String = "",
    @SerializedName("joinUid")
    val joinUid: Long = 0,
    @SerializedName("lastCrystalOre")
    val lastCrystalOre: BigDecimal = BigDecimal.ZERO,
    @SerializedName("modifyTime")
    val modifyTime: String = "",
    @SerializedName("producedCrystalOre")
    val producedCrystalOre: BigDecimal = BigDecimal.ZERO,
    @SerializedName("spiritId")
    val spiritId: String = "",
    @SerializedName("spiritName")
    val spiritName: String = "",
    @SerializedName("status")
    val status: Int = 0,
    @SerializedName("tid")
    val tid: Long = 0,
    //总产值
    @SerializedName("totalCrystalOre")
    val totalCrystalOre: BigDecimal = BigDecimal.ZERO,
    @SerializedName("type")
    val type: Int = 0,
    @SerializedName("uid")
    val uid: Long = 0
)


@Keep
data class StartPointBean(
        @SerializedName("current")
    val current: Int = 0,
        @SerializedName("pages")
    val pages: Int = 0,
        @SerializedName("records")
    val records: MutableList<RecordSBean> = mutableListOf(),
        @SerializedName("searchCount")
    val searchCount: Boolean = false,
        @SerializedName("size")
    val size: Int = 0,
        @SerializedName("total")
    val total: Int = 0
)

@Keep
data class RecordSBean(
    @SerializedName("content")
    val content: String = "",
    @SerializedName("createTime")
    val createTime: String = "",
    @SerializedName("id")
    val id: String = "",
    @SerializedName("payType")
    val payType: Int = 0,
    @SerializedName("starPoint")
    val starPoint: BigDecimal = BigDecimal("0"),
    @SerializedName("tid")
    val tid: String = "",
    @SerializedName("type")
    val type: Int = 0,
    @SerializedName("uid")
    val uid: String = ""
)

@Keep
data class DoIsTaskBean(
        @SerializedName("bfinished")
        val bfinished: String? = "false",
        @SerializedName("timeStamp")
        val timeStamp: String? = "",
        @SerializedName("timeRemaining")
        val timeRemaining: String? = "",
        @SerializedName("verifyCode")
        val verifyCode: String? = "",
        @SerializedName("bneedVerification")
        val bneedVerification: String? = "false",
        @SerializedName("bopenDoTask")
        val bopenDoTask: String? = "false"
)

